class Employee:
    def __init__(self, name, base_pay):
        self.name = name
        self.base_pay = base_pay

    def get_pay(self):
        return self.base_pay
    
class SalesEmployee(Employee):
    def __init__(self, name, base_pay, sales_incentive):
        self.name = name
        self.base_pay = base_pay
        self.sales_incentive = sales_incentive
    
    def get_pay(self):
        return self.sales_incentive + self.base_pay

john = SalesEmployee('John', 5000, 1500)
print(john.get_pay())